package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author : 王孟轩
 * @date : 2025/2/24 21:23
 * @description : 资金账户实体类
 **/
public class CapitalAccount implements Serializable {
    @Excel(name = "资金账户表唯一标识")
    private Long id; // 资金账户表唯一标识
    @Excel(name = "编码")
    private String accountCoding; // 资金账户编码
    @Excel(name = "账户名称")
    private String accountTitle; // 资金账户名称
    @Excel(name = "账户余额")
    private BigDecimal accountBalance; // 账户余额
    @Excel(name = "银行编码")
    private Integer bankId; // 银行类别id
    @Excel(name = "银行账号")
    private long  cardNumber; // 银行卡号
    private String interconnect; // 银企互联
    private Date createdDate; // 绑定日期
    private Date maturityDate; // 到期日期
    @Excel(name = "币别")
    private Integer currencyId; // 币别id
    @Excel(name = "会计科目")
    private Integer subjectId; // 会计科目id
    private Integer codingState; // 账户状态（1：启用   2：弃用   3：删除）
    @Excel(name = "账户类别")
    private Integer accountSort; // 账户类别（1：银行账户  2：现金账户）

    // Getters and Setters

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountCoding() {
        return accountCoding;
    }

    public void setAccountCoding(String accountCoding) {
        this.accountCoding = accountCoding;
    }

    public String getAccountTitle() {
        return accountTitle;
    }

    public void setAccountTitle(String accountTitle) {
        this.accountTitle = accountTitle;
    }

    public BigDecimal getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(BigDecimal accountBalance) {
        this.accountBalance = accountBalance;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public long  getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(long  cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getInterconnect() {
        return interconnect;
    }

    public void setInterconnect(String interconnect) {
        this.interconnect = interconnect;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getMaturityDate() {
        return maturityDate;
    }

    public void setMaturityDate(Date maturityDate) {
        this.maturityDate = maturityDate;
    }

    public Integer getCurrencyId() {
        return currencyId;
    }

    public void setCurrencyId(Integer currencyId) {
        this.currencyId = currencyId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getCodingState() {
        return codingState;
    }

    public void setCodingState(Integer codingState) {
        this.codingState = codingState;
    }

    public Integer getAccountSort() {
        return accountSort;
    }

    public void setAccountSort(Integer accountSort) {
        this.accountSort = accountSort;
    }
}
